package com.bdqn.membersystem.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.bdqn.membersystem.pojo.AuRole;
import java.util.List;
import com.bdqn.membersystem.mapper.AuRoleMapper;
import com.bdqn.membersystem.service.AuRoleService;
/**
* 作者：姚岳城
* 日期：2020/4/3 16:53
*/

@Service
public class AuRoleServiceImpl implements AuRoleService{

    @Resource
    private AuRoleMapper auRoleMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return auRoleMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(AuRole record) {
        return auRoleMapper.insertSelective(record);
    }

    @Override
    public AuRole selectByPrimaryKey(Long id) {
        return auRoleMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AuRole record) {
        return auRoleMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<AuRole> list) {
        return auRoleMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<AuRole> list) {
        return auRoleMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(AuRole record) {
        return auRoleMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(AuRole record) {
        return auRoleMapper.insertOrUpdateSelective(record);
    }

}
